import { View, Text } from '@tarojs/components'

import "taro-ui/dist/style/components/button.scss" // 按需引入
import './index.scss'
import {AtButton} from "taro-ui";
import Taro from "@tarojs/taro";

export default () => {
    return (
      <View className='index'>
        <Text>用户</Text>
        <AtButton type='primary' onClick={() =>{
          Taro.navigateTo({
            url: '/pages/index/index',
          })
        }
        }>按钮文案</AtButton>
      </View>
    )
}

